<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>水果忍者 - JavaScript期末大作业</title>
    <link rel="stylesheet" href="css/style.css">
</head>
<body>
    <div id="game-container">
        <div id="game-header">
            <div id="score">分数: 0</div>
            <div id="lives">生命: 3</div>
            <button id="fullscreen-btn">全屏</button>
        </div>
        <canvas id="game-canvas"></canvas>
        <div id="game-over" class="hidden">
            <h2>游戏结束!</h2>
            <p id="final-score">最终分数: 0</p>
            <button id="restart-btn">重新开始</button>
        </div>
    </div>

    <script src="js/utils.js"></script>
    <script src="js/blade.js"></script>
    <script src="js/fruit.js"></script>
    <script src="js/game.js"></script>
    <script src="js/main.js"></script>
</body>
</html>